<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>{$seo.title}</title>
    <meta name="keywords" content="{$seo.keys}" />
    <meta name="description" content="{$seo.desc}" />
    <link rel="shortcut icon" ref="/favicon.ico" />
    <link type="text/css" href="__CSS__/format_dom.css" rel="stylesheet" />
    <link type="text/css" href="__CSS__/main.css" rel="stylesheet" />
    <script type="text/javascript" src="__JS__/DD_belatedPNG.js"></script>
    <script type="text/javascript">DD_belatedPNG.fix("*")</script>
    <!--[if IE 6]>
    <script type="text/javascript" src="__JS__/DD_belatedPNG.js"></script>
    <script type="text/javascript">DD_belatedPNG.fix("*")</script>
    <![endif]-->
</head>
<body>
<div>
    <div class="top_line">
        <h2>
            <ul>
                <li><a href="/">首页</a></li>
                <li><a href="{:U('News/index')}">资讯</a></li>
                <li><a href="{:U('House/index')}">新房</a></li>
                <li style="background:none"><a href="{:U('Used/index')}">二手房</a></li>
            </ul>
            <div>
                <ul>
                    <php>if($user){</php>
                    <li>您好 <a style="color: orange" target="_blank" href="{:MU('Index/index')}">{$user.username}</a> ,欢迎您的到来!</li>
                    <li><a href="{:MU('Login/logout')}">退出登录</a></li>
                    <php>}else{</php>
                    <li><a target="_blank" href="{:MU('Login/index')}">登录</a></li>
                    <li><a target="_blank" href="{:MU('Login/reg')}">注册</a></li>
                    <php>}</php>
                    <li id="web_nav_map" style="background:none"><span class="top_ico01 top_ico01_1"></span><span class="top_text"><a  href="javascript:;">网站导航</a></span><span class="top_ico01 top_ico01_2"></span></li>
                </ul>
            </div></h2>
    </div>
    <!-- 网站导航-->
    <div  id="web_nav" style="width: 1180px;position: relative;margin: auto;display: none">
     <div class="web_nav overflow_h" style="position: absolute;background: #ffffff;z-index: 999;height:auto;">
     <div class="web_nav01"><h2><a href="{:U('House/index')}">新房户型</a></h2>
         <volist name="top_menu[3]" id='vo'>
         <p><a href="{:U('House/index',array('roomType'=>$vo['id']))}">{$vo.name}</a></p>
         </volist>
     </div>
     <div class="web_nav01"><h2><a href="{:U('Used/index')}">二手房总价</a></h2>
         <volist name="top_menu[22]" id='vo'>
             <p><a href="{:U('Used/index',array('totalPrice'=>$vo['id']))}">{$vo.name}</a></p>
         </volist>
     </div>
     <div class="web_nav01"><h2><a href="{:U('Rental/index')}">出租价格</a></h2>
         <volist name="top_menu[27]" id='vo'>
             <p><a href="{:U('Rental/index',array('price'=>$vo['id']))}">{$vo.name}</a></p>
         </volist>
     </div>
     <div class="web_nav01"><h2><a href="{:U('Estate/index')}">小区类型</a></h2>
         <volist name="top_menu[2]" id='vo'>
             <p><a href="{:U('Estate/index',array('houseType'=>$vo['id']))}">{$vo.name}</a></p>
         </volist>
     </div>
     <div class="web_nav01"><h2><a href="{:U('News/index')}">资讯分类</a></h2>
         <volist name="top_menu['article_cate']" id='vo'>
             <p><a href="{:U('News/lists',array('alias'=>$vo['alias']))}">{$vo.name}</a></p>
         </volist>
     </div>
     <div class="web_nav01"><h2><a href="{:U('Ask/index')}">问答分类</a></h2>
         <volist name="top_menu['ask_cate']" id='vo'>
             <p><a href="{:U('News/lists',array('alias'=>$vo['alias']))}">{$vo.name}</a></p>
         </volist>
     </div>
     <div class="web_nav01" style="border-right:none"><h2><a href="{:U('Buying/index')}">团购</a></h2>
         <p><a href="{:U('Buying/index')}">最新团购</a></p>
         <p><a href="{:U('Buying/index',array('type'=>'time'))}">往期团购</a></p>
     </div>
     </div>
    </div>
    <div class="top_m overflow_h">
        <span class="logo"><a title="{$siteName}" href="/"><img alt="{$siteName}" src="{$logo.logo}"/></a></span>
        <div class="search">
            <div class="s_map">
                <a href="{:U('Map/index')}" target="_blank" class="but02">地图找房</a>
            </div>
            <div class="float_l">
                <div class="search01" id="top_search">
                    <ul>
                        <li><a href="javascript:;" data-did="House" class="selected">新房</a></li>
                        <li><a href="javascript:;" data-did="Used">二手</a></li>
                        <li><a href="javascript:;" data-did="Estate">小区</a></li>
                        <li><a href="javascript:;" data-did="Rental" >出租</a></li>
                        <li><a href="javascript:;" data-did="News" >资讯</a></li>
                        <li><a href="javascript:;" data-did="Ask">问答</a></li>
                    </ul>
                </div>
                <div class="search02">
                    <form method="get"  id="topForm">
                        <input type="hidden" value="Home" name="m">
                        <input type="hidden" id="top_c" value="House" name="c">
                        <input type="hidden" id="top_a" value="index" name="a">
                        <input type="hidden" id="top_k" name="key">
                    </form>
                    <p> <input type="text" onfocus="top_key()" class="s_inp01" id="search_key"  value="请输入您要搜索的楼盘关键词" /> <a href="javascript:;"  id="search_but" class="but01">搜索</a> </p>
                </div>
            </div>
        </div>
    </div>
    <div class="nav">
        <h2><span class="tel">{$contact.phone}</span>
            <ul>
                <volist name="site_nav['header']" id='vo'>
                    <php>
                        $a = $vo['action'] ? $vo['action'] : 'index';
                        if($vo['status']){
                    </php>
                    <li <php>if($contrller==$a){</php> class="nav_bg" <php>}</php> ><a target="{$vo.open_type}" href="{$vo.url}">{$vo.name}</a></li>
                    <php>}</php>
                </volist>
            </ul>
        </h2>
    </div>
</div>